﻿using System;
using UnityEngine;

public class CopyLocalEulerAngles : MonoBehaviour
{
    public Transform from;
    public Transform to;

    private void LateUpdate()
    {
        if ((this.from != null) && (this.to != null))
        {
            this.to.localEulerAngles = this.from.localEulerAngles;
        }
    }
}

